Optimal. Leaf size=50 \[ -2^{1+m} 3^{-1-m} \sqrt {-2-3 x} (-x)^{-m} x^m \, _2F_1\left (\frac {1}{2},-m;\frac {3}{2};1+\frac {3 x}{2}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 50, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.231, Rules used = {69, 12, 67}
\begin {gather*} -2^{m+1} 3^{-m-1} \sqrt {-3 x-2} (-x)^{-m} x^m \, _2F_1\left (\frac {1}{2},-m;\frac {3}{2};\frac {3 x}{2}+1\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 67
Rule 69
Rubi steps
\begin {align*} \int \frac {x^m}{\sqrt {-2-3 x}} \, dx &=\left (\left (\frac {2}{3}\right )^m (-x)^{-m} x^m\right ) \int \frac {\left (\frac {3}{2}\right )^m (-x)^m}{\sqrt {-2-3 x}} \, dx\\ &=\left ((-x)^{-m} x^m\right ) \int \frac {(-x)^m}{\sqrt {-2-3 x}} \, dx\\ &=-2^{1+m} 3^{-1-m} \sqrt {-2-3 x} (-x)^{-m} x^m \, _2F_1\left (\frac {1}{2},-m;\frac {3}{2};1+\frac {3 x}{2}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 48, normalized size = 0.96 \begin {gather*} -\frac {2}{3} \left (1+\frac {1}{2} (-2-3 x)\right )^{-m} \sqrt {-2-3 x} x^m \, _2F_1\left (\frac {1}{2},-m;\frac {3}{2};1+\frac {3 x}{2}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [C] Result contains higher order function than in optimal. Order 9 vs. order 5 in
optimal.
time = 2.28, size = 34, normalized size = 0.68 \begin {gather*} \frac {-I \sqrt {2} x^{1+m} \text {hyper}\left [\left \{\frac {1}{2},1+m\right \},\left \{2+m\right \},\frac {3 x \text {exp\_polar}\left [I \text {Pi}\right ]}{2}\right ]}{2+2 m} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains complex when optimal does not.
time = 0.10, size = 30, normalized size = 0.60
method | result | size |
meijerg | \(-\frac {i x^{1+m} \hypergeom \left (\left [\frac {1}{2}, 1+m \right ], \left [2+m \right ], -\frac {3 x}{2}\right ) \sqrt {2}}{2 \left (1+m \right )}\) | \(30\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.32, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 0.60, size = 41, normalized size = 0.82 \begin {gather*} - \frac {\sqrt {2} i x x^{m} \Gamma \left (m + 1\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{2}, m + 1 \\ m + 2 \end {matrix}\middle | {\frac {3 x e^{i \pi }}{2}} \right )}}{2 \Gamma \left (m + 2\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] N/A
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {x^m}{\sqrt {-3\,x-2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________